package com.example.demo.refactor.price;

public abstract class Price {
    public abstract int getPriceCode();

    //获取金额
    public  abstract double getCharge(int dayRented);

    public int getFrequentRenterPoints(int dayRented) {
        return 1;
    }
}
